package com.yellowpage.bigdata.data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * UserInfoCount entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "USER_INFO_COUNT")
public class UserInfoCount implements java.io.Serializable {

	// Fields

	private Integer id;
	private String date;
	private Integer usernum;
	private Integer dxnum;
	private Integer othernum;

	// Constructors

	/** default constructor */
	public UserInfoCount() {
	}

	/** full constructor */
	public UserInfoCount(String date, Integer usernum, Integer dxnum,
			Integer othernum) {
		this.date = date;
		this.usernum = usernum;
		this.dxnum = dxnum;
		this.othernum = othernum;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "identity")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "date", length = 8)
	public String getDate() {
		return this.date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	@Column(name = "usernum")
	public Integer getUsernum() {
		return this.usernum;
	}

	public void setUsernum(Integer usernum) {
		this.usernum = usernum;
	}

	@Column(name = "dxnum")
	public Integer getDxnum() {
		return this.dxnum;
	}

	public void setDxnum(Integer dxnum) {
		this.dxnum = dxnum;
	}

	@Column(name = "othernum")
	public Integer getOthernum() {
		return this.othernum;
	}

	public void setOthernum(Integer othernum) {
		this.othernum = othernum;
	}

}